package adapter;

public class Main {
    public static void main(String[] args) {
//        Adaptee adaptee = new Adaptee();
//        Target t = new Adapter(adaptee);
//        t.aaa();

        String phone = "15261575701";

        System.out.println(phone.replaceAll("(\\d{3})\\d{4}(\\d{4})", "$1****$2"));


    }
}
